package cn.tedu.coolshark.mapper;

import cn.tedu.coolshark.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Classname: Usermapper
 * @Author: bromide
 * @CreateTime: 2022/5/17--11:45
 * @Version: V1.0
 * @Description:
 */
@Mapper
public interface Usermapper {
    @Select("select * from user where username=#{username}")
    User select(String username);
}
